/*

1. amount: 2
2. assistSaleFlag: null
3. assistTeacher: ""
4. createdAt: "2025-01-09 17:22:37"
5. customerInfoId: 1877280757693567000
6. date: "2025-01-13"
7. id: "1877284836100558848"
8. num: 2
9. product: "客户2协销2"
10. reason: ""
*/

class DistributorAssist {
  double? amount;
  bool? assistSaleFlag;
  String? assistTeacher;
  String? createdAt;
  int? customerInfoId;
  String? date;
  String? id;
  int? num;
  String? product;
  String? reason;

  DistributorAssist({
    this.amount,
    this.assistSaleFlag,
    this.assistTeacher,
    this.createdAt,
    this.customerInfoId,
    this.date,
    this.id,
    this.num,
    this.product,
    this.reason,
  });

  DistributorAssist.fromJson(Map<String, dynamic> json) {
    amount = json['amount'];
    assistSaleFlag = json['assistSaleFlag'];
    assistTeacher = json['assistTeacher'];
    createdAt = json['createdAt'];
    customerInfoId = json['customerInfoId'];
    date = json['date'];
    id = json['id'];
    num = json['num'];
    product = json['product'];
    reason = json['reason'];
  }

  toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['amount'] = amount;
    data['assistSaleFlag'] = assistSaleFlag;
    data['assistTeacher'] = assistTeacher;
    data['createdAt'] = createdAt;
    data['customerInfoId'] = customerInfoId;
    data['date'] = date;
    data['id'] = id;
    data['num'] = num;
    data['product'] = product;
    data['reason'] = reason;
    return data;
  }
}
